package com.szc.demo01.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 考勤表
 * @Author: ShiZhiCheng
 * @Date: 2021/01/12 16:39:48
 */
@TableName("attence")
@Data
@NoArgsConstructor
public class Attence {
    /**
     * eId workDate一起组成主键
     */
    private long eId;
    private Date workDate;
    private Date workStart;
    private Date workEnd;
    private long workTime;
    /**
     * 是否迟到
     * 0 未迟到
     * 1 迟到
     */
    private int isLater;
    /**
     * 是否缺勤
     * 0 未缺勤
     * 1 缺勤
     */
    private int isLeave;

    /**
     * 备注
     */
    private String mark;


    /**
     *
     * 员工姓名
     */
    private String ename;
}
